package com.link.base.base.urlinfo.dao.mybatis.mapper;

import com.link.base.base.urlinfo.model.AppUrlDutyLink;
import com.link.base.base.urlinfo.model.UrlDutyLink;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * app职责与URL-app职责与URL关联关系 
 *
 * @author 郭闪
 * @date 2019/08/23 11:28
 */
public interface AppUrlDutyLinkMapper extends BasicMapper<AppUrlDutyLink> {

    List<Long> existUrls(List<Long> urlIds, Long dutyId);

    void enableLinks(List<Long> dbIds, Long dutyId);

    void batchAdd(List<UrlDutyLink> insertLinkList);
}
